<div class="alert alert-dismissible fade show mb-0" role="alert" xmlns:th="http://www.thymeleaf.org"
     th:if="${alertInfo}!=null"
     th:classappend="${alertInfo.level.getColorClass()}">
    <button type="button" class="close" data-dismiss="alert" aria-label="Close">
        <span aria-hidden="true">×</span></button>
    <i class="fa mx-2" th:classappend="${alertInfo.level.getIconClass()}"></i>
    <strong th:text="${alertInfo.msg}"></strong>
    <th:block th:text="${alertInfo.detail}"/>
</div>
